	<?php
// WebMakers.com Added: Down for Maintenance
// Hide header if not to show
if (DOWN_FOR_MAINTENANCE_HEADER_OFF =='false') {
if (SITE_WIDTH!='100%') {
?>
			<table width="100%">
			  <tr>
				<td width="100%" class="top-m">
					<table width="100%" class="top-l">
					  <tr>
						<td width="100%" class="top-r">
							<table width="100%">
							  <tr>
								<td width="100%" class="padding">
									<a href="<?php echo tep_href_link(FILENAME_DEFAULT);?>"><img alt="" src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME?>/images/logo.jpg" ></a><br>
								</td>
							  </tr>
							  <tr>
								<td width="100%" align="center">
									<a href="<?php echo tep_href_link(FILENAME_DEFAULT);?>"><?php echo tep_image(DIR_WS_TEMPLATES . TEMPLATE_NAME.'/images/navigation/'.$language.'/m1.jpg', 'Home');?></a><a href="<?php echo tep_href_link(FILENAME_PRODUCTS_NEW);?>"><?php echo tep_image(DIR_WS_TEMPLATES . TEMPLATE_NAME.'/images/navigation/'.$language.'/m2.jpg', 'New producs');?></a><a href="<?php echo tep_href_link(FILENAME_SPECIALS, '', 'SSL');?>"><?php echo tep_image(DIR_WS_TEMPLATES . TEMPLATE_NAME.'/images/navigation/'.$language.'/m3.jpg', 'Specials');?></a><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL');?>"><?php echo tep_image(DIR_WS_TEMPLATES . TEMPLATE_NAME.'/images/navigation/'.$language.'/m4.jpg', 'My account');?></a><a href="<?php echo tep_href_link(FILENAME_CONTACT_US, '', 'SSL');?>"><?php echo tep_image(DIR_WS_TEMPLATES . TEMPLATE_NAME.'/images/navigation/'.$language.'/m5.jpg', 'Contact Us');?></a><br>
                                    <br style="line-height:8px">
								</td>
							  </tr>
							</table>
						</td>
					  </tr>
					</table>
				</td>
			  </tr>
			  <tr>
				<td width="100%">
					<table width="100%" class="header">
					  <tr>
						<td width="35%" class="pad">
							Choose your language:<img alt="" src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME?>/images/spacer.gif" width="15" height="1"><?
											//LANGUAGE
											
											  if (!isset($lng) || (isset($lng) && !is_object($lng))) {
												include(DIR_WS_CLASSES . 'language.php');
												$lng = new language;
											  }
											
											  $languages_string = '';
											  reset($lng->catalog_languages);
											  $flag=0;
											  while (list($key, $value) = each($lng->catalog_languages)) {
											
												if($flag!=0)
												{$languages_string.='&nbsp;'; }
												$languages_string .= '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $request_type) . '"  >' . tep_image(DIR_WS_LANGUAGES .  $value['directory'] . '/images/' . $value['image'], $value['name'],'','', 'class="vam"') . '</a>';
												$flag++;
											  }
									  echo $languages_string; 
											  
															?>
						</td>
						<td width="1"><img alt="" src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME?>/images/line.gif" ><br></td>
						<td width="31%" class="pad">
							Currencies: <? reset($currencies->currencies);
    $currencies_array = array();
    while (list($key, $value) = each($currencies->currencies)) {
      $currencies_array[] = array('id' => $key, 'text' => $value['title']);
    }

    $hidden_get_variables = '';
    reset($HTTP_GET_VARS);
    while (list($key, $value) = each($HTTP_GET_VARS)) {
      if ( ($key != 'currency') && ($key != tep_session_name()) && ($key != 'x') && ($key != 'y') ) {
        $hidden_get_variables .= tep_draw_hidden_field($key, $value);
      }
    }

echo tep_draw_form('currencies', tep_href_link(basename($PHP_SELF), '', $request_type, false), 'get');
echo tep_draw_pull_down_menu('currency', $currencies_array, $currency, 'onChange="this.form.submit();"') . $hidden_get_variables . tep_hide_session_id();
								 ?></form>
						</td>
						<td width="1"><img alt="" src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME?>/images/line.gif" ><br></td>
						<td width="34%" class="pad"><?
							  //SHOPPING CART
							
							  if ($cart->count_contents() > 0) {
								$products = $cart->get_products();
								$cart_contents_string .= ''.$cart->count_contents().' items';
							  }
							   else {
								$cart_contents_string .= '0 items';
							  }
							
							?>Shopping Cart:<img alt="" src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME?>/images/spacer.gif" width="15" height="1"><a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART)?>" ><img alt="" src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME?>/images/cart.gif" ><img alt="" src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME?>/images/spacer.gif" width="15" height="1"><?php echo $cart_contents_string?></a><br>
						</td>
					  </tr>
					</table>
				</td>
			  </tr>
			</table>

<?
}}

define(MAX_DESC_MODULE, '60');
define(MAX_DESC_ROW, '60');
define(MAX_DESC_COL, '40');
define(MAX_DESC_BOX, '40');

define(PRICE_SEPARATOR, '&nbsp; ');
define(PRICE_SEPARATOR_BOX, '<br><br style="line-height:9px">');


?>

<!-- header_eof //-->
